<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// 
//  admin_index.php
//  www.6block.com
//  
//  Created by Will_Lee on 2011-05-19.
//  Copyright 2011 lishuzu. All rights reserved.
// 
class Index extends CI_Controller {

	 function __construct()
	 {
		parent::__construct();
 		$this->load->model('common/security_model');
		if($this->security_model->isAdminLogin() === FALSE){
          showmessage('请登录', 'index', 3);
		}
	 }

	function index($offset = '')
	{
		$this->load->template('admin/index_tpl');
	}
}
?>